Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

feature/connections/src/jvmMain/kotlin/org/meshtastic/feature/connections/JvmScannerViewModel.kt fix/fdroid-map-rendering (113121c4) Text, 2.48 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.feature.connections

Tff7b72import T7ee787org.koin.core.annotation.KoinViewModel
Tff7b72import T7ee787org.meshtastic.core.datastore.FirmwareRecoveryDataSource
Tff7b72import T7ee787org.meshtastic.core.datastore.RecentAddressesDataSource
Tff7b72import T7ee787org.meshtastic.core.network.repository.NetworkRepository
Tff7b72import T7ee787org.meshtastic.core.repository.RadioController
Tff7b72import T7ee787org.meshtastic.core.repository.RadioInterfaceService
Tff7b72import T7ee787org.meshtastic.core.repository.RadioPrefs
Tff7b72import T7ee787org.meshtastic.core.repository.ServiceRepository
Tff7b72import T7ee787org.meshtastic.core.repository.UiPrefs
Tff7b72import T7ee787org.meshtastic.feature.connections.model.GetDiscoveredDevicesUseCase

T8b949e/**
* Desktop/JVM [ScannerViewModel] registration.
*
* On Desktop, the base [ScannerViewModel] is used directly. The default [requestBonding] connects without explicit
* bonding since the OS Bluetooth stack handles pairing during the GATT connection.
*/
Tf0883e@KoinViewModelTb4b4b4(Te6edf3binds Tff7b72= Tff7b72[Te6edf3ScannerViewModelTff7b72::Te6edf3classTff7b72]Tb4b4b4)
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffLongParameterListTa5d6ff"Tb4b4b4)
Tff7b72class T56d364JvmScannerViewModelTb4b4b4(
Te6edf3serviceRepositoryTb4b4b4: Te6edf3ServiceRepositoryTb4b4b4,
Te6edf3radioControllerTb4b4b4: Te6edf3RadioControllerTb4b4b4,
Te6edf3radioInterfaceServiceTb4b4b4: Te6edf3RadioInterfaceServiceTb4b4b4,
Te6edf3radioPrefsTb4b4b4: Te6edf3RadioPrefsTb4b4b4,
Te6edf3recentAddressesDataSourceTb4b4b4: Te6edf3RecentAddressesDataSourceTb4b4b4,
Te6edf3getDiscoveredDevicesUseCaseTb4b4b4: Te6edf3GetDiscoveredDevicesUseCaseTb4b4b4,
Te6edf3networkRepositoryTb4b4b4: Te6edf3NetworkRepositoryTb4b4b4,
Te6edf3dispatchersTb4b4b4: Te6edf3orgTb4b4b4.Te6edf3meshtasticTb4b4b4.Te6edf3coreTb4b4b4.Te6edf3diTb4b4b4.Te6edf3CoroutineDispatchersTb4b4b4,
Te6edf3uiPrefsTb4b4b4: Te6edf3UiPrefsTb4b4b4,
Te6edf3firmwareRecoveryDataSourceTb4b4b4: Te6edf3FirmwareRecoveryDataSourceTb4b4b4,
Te6edf3bleScannerTb4b4b4: Te6edf3orgTb4b4b4.Te6edf3meshtasticTb4b4b4.Te6edf3coreTb4b4b4.Te6edf3bleTb4b4b4.Te6edf3BleScannerTff7b72? Tff7b72= Tff7b72nullTb4b4b4,
Tb4b4b4) Tb4b4b4: Te6edf3ScannerViewModelTb4b4b4(
Te6edf3serviceRepositoryTb4b4b4,
Te6edf3radioControllerTb4b4b4,
Te6edf3radioInterfaceServiceTb4b4b4,
Te6edf3radioPrefsTb4b4b4,
Te6edf3recentAddressesDataSourceTb4b4b4,
Te6edf3getDiscoveredDevicesUseCaseTb4b4b4,
Te6edf3networkRepositoryTb4b4b4,
Te6edf3dispatchersTb4b4b4,
Te6edf3uiPrefsTb4b4b4,
Te6edf3firmwareRecoveryDataSourceTb4b4b4,
Te6edf3bleScannerTb4b4b4,
Tb4b4b4)

Served by rngit 1.5.0 - Generated in 0.13s